﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zor_IDAL;

namespace Zor_DAL
{
    public class HousingBrowse_DAL<T> where T : class
    {
        /// <summary>
        /// 房屋浏览导出
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        public static List<T> SelectHousingBrowseList(string where = null)
        {
            string strwhere = "";
            if (!string.IsNullOrEmpty(where))
            {
                strwhere = "1=1 and " + where;
            }
            var sql = "select * from [V_HousingBrowse] where " + strwhere + "";
            return DapperQuery<T>.DoQueryList(sql, null);
        }
    }
}
